package com.yuyue.note01.entity;

/**
 * 含有 User 对象属性类
 */
public class Account {
    private String accountName;
    private User user;

    //set、get、toString方法
    @Override
    public String toString() {
        return "Account{" +
                "accountName='" + accountName + '\'' +
                ", user=" + user +
                '}';
    }

    public String getAccountName() {
        return accountName;
    }

    public void setAccountName(String accountName) {
        this.accountName = accountName;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }
}
